package cn.wolfcode.qo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.commons.collections4.Get;
import org.apache.poi.ss.usermodel.IgnoredErrorType;

@Getter
@Setter
@ToString
public class AnswerObject {
    private Long id;
    private String title;
    private Boolean judge_right;
    private Long question_id;
    private String q_title;


    public String getShowAnswer(){
        if (judge_right){
            return title.substring(0, 1);
        }
        return null;
    }


}
